Adds phantomtask as submodule.
Cleanup code transfered to phantomtask.
updates phantomtask.