Add basic server code