refactored to not use gorilla, since the routing is really a different concept that what we're doing