changed OpenCommand.java constructor from private to public