command list initialise. using scanner instead of reader to read the commands and parameters.