Modified models/blog_model constructor to set properties through setter methods