Added router functionality + extended application example