Added pymongo db interface to application.