This adds the post controller to get the posts from the database and make apply all filters needed to make it a workable result.