change the input of format in Parser

-change the userCommand to be an input in format to align with Logic and
UI