Add CRUD methods to post model