Moved global models declaration to models/index.js