added testing with mocha
merged changes
added testing, entites work
core.js in back-end, entities in node-modules