added mongo connection
pep8
caching posts to mongo