Menu routing dependency

fix issue #39

the idea is to dynamically create the referrer mapping metadata only if the classes are available to make the dependencies really optional.