refactored config classes to main cognizance package
use child injectors to build config service