added a post model to use Mongoid