Add repository and service