Removed mongoengine: Change database tables and raw commands to make code dependent only on pymongo. Tested using the sample code for all supported apis