Added default peer id generation. Fixed equals bug.
Improved server handling
Added package.json
Improved test/app scripts