Begin server implementation. Revise how primitives are constructed.