moved repository for entity mapper