Use class methods in creating CASPER memory object