Created post controllers and resources