Created Post Controller, index and show actions.