pass module/app definition info on to the routes file