Initial version of nodejs integration

Describe in one sentence the purpose of this class. Reference the original java implementation file too.