* begin migration * make client state a pointer * fix build * fixes from self review and rename cdctypes -> codectypes * add godoc
* begin migration * make client state a pointer * fix build * fixes from self review and rename cdctypes -> codectypes * add godoc