Move enum Exec/Info inside Task class