A reusable controller module for CRUD operations between Hapi.js, Mongoose, and Ember Data