Created MY_Controller as the base controller, create a constructor and set data array variable, and modified welcome.php controller to check if it is working.
Added two new files 'Frontend_Controller.php' and 'Admin_Controller.php'. Modified application/config.php and added '__autoload' function to use the two new base controller for admin and public site.