Created generic repository for all entities
Entities must extend BaseEntity