Added wsgi interface for hosting
Changed urls to be server agnostic

The port is still problematic though