Fixed a few bugs & aded versions to the dependencies in package.json