postsFactory service to provide data from/to api/post from/to views' con...

...trollers and api/post to perform CRUD operations on MongoDB