alternative method for setting dynamic routes, adds a handler along with the route set up, keeps all routing logic bundled and away from teh rest of teh module but, at least as it is, might be less flexible than it could be