Learning to write c++ node modules