entity mapping, repo, service