Implementing Post Class