Changed from using flask to using flask-restful. Big commit, lots of changes