Completely redeveloped version with Java module

This version has been completely redeveloped by Frank Hilhorst.
It uses only Java modules to get rid of C and nodegyp to run in newer
node.js versions.