* refactor out apiconfig section * add general settings section * duplicate import * add missing type