moves declarative logic into the controller
enhances testing of controller extensions