new version of implmentation, create Post.php, PostDAO.php and ControllerDAO.php