decouple teachers controller from a core domain class