Wrote README, Modified package.json and cleaned up the code