Move module discussion from chapter 4 to chapter 3

Makes sense to talk about modules and tasks at the point of doing ad-hoc
execution of tasks.