refactoring to psr-1/psr-2, adding psr-0 autoloader, adding .htaccess