changed CommandRegistry to also send the complete line
+ just return commandNames instead of a map