Refactoring

Hey,
I just wanted to use your lib and thought, that it could use some minor refactoring. I also updated a link in the README and realized, that it does not work with TaskWarrior 2.0 (current version in debian stable). I also added some docstrings ;-).

Thanks for doing the work in the first place!

Regards
Lars