added new repository and entity