added Group entity
Refactored Mongoid logic and fields to a base entity