Initial version of tasks, tests and a code generator

The code generator template generates a .tasks file that includes the source of the tasks.