moved settings to settings.php, added .htaccess