Moved models.js and required it in gameLogic.js