Replace database queries in repositories with Morphia

Indentation?