Moved configuration reader to configuration.py