Added rewite rules to .htaccess for completentess
A few edits to automate the routing