Added PHP, .htaccess and cleanup of old code