Plug in system and cleaner htaccess

Added a plug in system and cleaned up the htaccess file to remove
explicit urls and just added a more general pattern matching.. this is
reflected in the empathy generator as well.