improve makefiles for libheca (seperate build and install)
re-organize libheca file structure