add app argument to routes.init()