Enhanced and cleaner structure for the Command Line.
Created exceptions for the same class.