Add an initial version of the task behavior

This behavior also manage the chronometer behavior