modified models to use mongoid.
use mongoid querying.