Seperated Config File

** define() to seperate config file
** Added check for config.php file