Feature/common api
I think this is what we were going for? There are included files to spin up a test flask server and database to test some of the things. The main magic is in api.py though. Please let me know if this is not the direction we wanted to go in.