use class_options for the controller
add dependency to class_options