fixes for mongodb support
fixed class namespace
Merge pull request #1 from sheknows/mongodb-fixes

MongoDB Fixes