Added package.json. Shortened client code.