Added logger
Added test file
Changed license
Added package.json