creating Post Model Class