Update BAASBox.java

refactor from get/set to result, constructor from token