Refactoring with external config support micro library