add missing method getReference

-add missing method getReference
-update getRouterUrl method