Added intial memory allocator and fixed make paths