listing & adding posts

refactoring
configured hibernate
edit view
added functionality to show all post and add new post