Took out global const parameters for routing and rpcs, made them part of server struct