update package dependencies
move tests -> test (mostly for mocha)
Implement configurable timeout / fix bugs in retries