basic flask app, freebase query, and models