Created interfaces for repositories