Add autoloader and set .htaccess

lets use DIRECTORY_SEPARATOR instead of slash