Added type checking
Added package.json
Added argument validation
Added changelog to readme