use url.format to build the initial url

cleaned a bunch of eslint errors
test the public-facing EventEmitter
Release 0.0.1