Command parsing (untested)