Initial commit.
Brutal abuse performed by eclipse formatter.
Allow calling from node.js