attempt at a basic RESTful API in python using the Flask framework (and other miscellaneous python stuff)