add entities and some repositories to domain class