[jonathan/joan] Added the taskmanager class.