refactor(config) initial version of config integration and separation of tasks.