started to rebuilt the database support
further changes to database class
removed pymongo as an dependency from README