adds post model

Adds a post model.