add missing method getReference

-add missing method getReference
-update getRouteUrl method