[master 6/17] Add tasks infrastructure to tasks directory.