Added collection schema to server.js & renamed 'master' template from 'layout'