Modified autoloader
Added spl_autoload
Removed unused function call