Added a Posts Route which is a model function that returns the value of the  posts variable defined in app.js