Made xAPIWrapper constructor consistent with changeConfig

Fixed consistency issues between the xAPIWrapper constructor and xAPIWrapper.changeConfig