hatcm.com source code