Commands parsing in console