Created post data controller and data model