Implement create, realloc, dealloc