only one socket per client, package.json for npm ans some small changes