added lib folder with model.js