Eliminated CX_ConnectionType in cx.c.
Added mx.c and mx.h.