CJ: classes parsing from XML