Add MongoId key type
Move Relations from Model into Document module