more entities and base repo interface