add dependency badge
code refactoring
update devDependencies