Created controllers for posts, modified views to output content from database