Deleted memory manager and added queue