Reformat code for readability
Create an AbortedCommand class with explanation