Simple router program