Added Categories Repository and some validation rules.
Added Categories Repository and some validation rules.