Added Commands class for command/command prefix parsing. Updated
MyThread to use this class to parse commands.