almost done the command interpreter.