moved afterBinding logic into afterBinding wrapper
misc cleanup and reorg, renamed $router.setup() to $router.startup()