updated task model for subtrees and processed tasks
restructing imports
added methods for getting all tasks including subtrees with recursion