huge refactoring of config parser, public interface for parser is singled out now, can be reused