added htaccess rewrites and gitignore