Refactor impl of the micro configuration system