ring server with routes sample