parsing UCI commands