added base classes for Role, Group and their associations