refactoring into packages, conffile