Construct a server with less code