Added repositories and interfaces for the models