make closure thing work and set up __main__ for base
fix some stuff
add shebang
added missing parens
removed leftover flask-restful code
fix naming
fix naming
remove jsonify since it can't run before app.run()
remove old self from args from oop design
chang pymongo set commands
add support for correct format of json, list of hashes
change content to text