Pass route params to controller
Switch to classes and access request path in lib/