relocating models.js