crud and model for category