Moved config class to config.py