fixed application.py, hopefully fixed setup.py warning / error messages. will need to explicitly state dependency on flask and pymongo