basic mem allocator framework laid out.