models.js: started model implementation