coveralls
switch to dot as the default reporter
updated npmignore
refactor unused code