Added kheap class
Added kheap to makefile
Merged Makefile
Added new functions to common