initial mongoid support

TODO: better integration