Inheritance system for node.js