Reorganize Phakefile tasks