Replace database queries in repositories with Morphia

This was unintentional. The IDE did it for me. I've changed my IDE settings and expanded the wildcard.