Re-organizing the tasks package.
Fix tasks.api. Override RootTask register in database to make sense. Start testing tasks.
Starting to include tests for the TaskManager.