Add Haskell prototype of command/response stuff.