added server routing functions (on, all, and method sugars)