Update config.php

Refactored config.php into a configuration ONLY class.