moving default Controller and Repository classes to properties