tiny refactoring
default configuration is read from file