Move mt.h and mt.hpp into cwt-core.