updated server to provide more powerful tools for routing