server and route config stuff