Refs #37, moves add-post and delete-post logic to models.