Straightforward classes for node.js or web browsers