added the ability to pass classes into route bindings
Merge pull request #4992 from robbo-forks/dragon-patch-3

added the ability to pass classes into route bindings