scj: Refactored some files of RawMem example