Updated to have config.php to make it semi-modular. Needs work