Moving away from flask restful