Move mongo logic to schemas