Implement a basic TaskManager.

Closes #7