edited htaccess file and created MY_Controller in application/core and created Admin_ontroller and Frontend_ontroller in libraries folder and edited index.php file inorder to autolod Frondend_Controller and Admin ontroller