'commands' package renamed to 'protocol' and Parser class added