Added preliminary client/server architecture.