dorm -> index.js, mocha+chai added for testing