Fix jshint warnings
Remove unneeded index.js
Add gitignore
Remove unneeded test
Add options argument for loggers

and add tests