changed exports to module.exports on models to fix wierd issue