Added comments to the code

Added an readme file
Completed the package.json file