Added associations in model
Added categories_restaurants migration to create join table between the two