modify to support generating hamlc templates
update readme
generate precompiled template
Work with hamlc (WIP)