adding the categories model and controller and the category_id:integer to posts