add PostsController and moment.js