re-organize code directory structure, fix regexp filter in heatmap