Move category_posts inserts from the controller into it's respective
model.