Move task file parse method to runner

Keeps DSL file smaller and restricted to DSL
methods.