Fixing code issues from issue #1, and added more detail to the package.json