Some basic boilerplate code for building a json API or web app with Tornado