Feature/1.3.2 controller declare

wrap controller in declare to allow other developers to extend controller with custom functionality