Initial checkin of libmtm