Rewrote back end in python using google cloud endpoints. WIP