Add cloning of current page directory
Use pointers for tasks