added class autoloader and removed unnecessary files