Update REST_Commander.java

class with some static methods