first commit. dgen migration to nodejs