add public boolean run(List<String> command) method