Add service and repository classes