reformulation
minimal structure: command line, input checking, textUsage and exitMessage, __main__ structure