Add Mongo and Morphia code
Ensure usage of caps and indexes