Adds core domain, event, repository and service classes.