setting up models.js