Set up some server logic.