provided proper LICENSE file for LGPL3.0+
adjusted index.js to allow requiring as a module