creating Post Model and Post Controller