separated out models from server.js. Also more work on grabbing groups from tagnet.