update UI to include add_category, add length validation to Category and Vendor classes