implemented very naive mapped memory allocator, for debugging and development