fix imports
enable merging the already query object
- better error reporting on the client requests
- update to the latest mongodb driver
- cleanup unnecessary code