Moved GROUP out of app.js and into it's own lib file