Added basic structure for heap alloc and free