add posts, events controllers and models