Added class autoloader
Added methods for controller
Added redirect method for base controller