refactored the main method. It's now split into methods based on the command. Imported integrity error from mysql and used that instead of general errors
refactored the main method. It's now split into methods based on the command. Imported integrity error from mysql and used that instead of general errors

AhmedShab/Catalyst_task