Initial commit of HEN's code