Refactoring the config class and adding a console class, not batch.