npm packages updated
Code refactor and bug fixing

there was a few issues with the task type, is now fixed
code is more readable
Readme updated

version updated
ready to tag