Added second routing example. Added global controller functions support. Fixed click listener for links