Add TaskManager and "abstract" manager to handle Task DB management.

- Change all tests to reflect new task and task manager usage.