Added git ignore to ignore node modules
Wrap module in closure and tidy docs