Updated index.php file to change the environment based on deployment.
Added a seperate database configuration file for production.