Add comment explaining what parseCommand does