Reorganised a bit and added a Node js package.