added .htaccess file. Modified index.php to hopefully work on heroku.