Finished docstrings on database class, also refactored the responsibility class to instead be called tasks and also be hierarchical to allow for subtasks.