Added a model file for node.js
added base node class