addRoute() registers one command at a time