update: Added add function

* Added a function to add a new task

Signed-off-by: mr.Shu <mr@shu.io>
update: PEP8 cleanup

* Cleaned up the codebase to look more PEP8-compliant

Signed-off-by: mr.Shu <mr@shu.io>