working HEAP! No GC yet. Code cleanup