configed database,core,bootstrap.php's and added debugkit plugin and configud AppController.php