Added Task and TaskGroup classes, implemented functions for adding tasks and groups in task widget