refactored configuration system, added ini files