Adds an api module to keep all the api end-points together.
Changes uwsgi settings to include a pythonpath to correctly import modules.
Adds js function to update the header.