add controller and domain class