Node.js module for entity management