Reorganised file structure to have both the client and the api served from flask.