add basic command input parsing