created models/index.js schema layout for mongodb