Move post task code in its own class
Move import task code in its own class
Move task classes in their own source file