Prepare NPM package
Added class to src/js (share code between client/server)