scaffold category crud functionality