Updated index.js files to use new models and createConnection