Post class creation

I have created the Post class.