Begin server code.