Incremental work -- cpmem init complete

Checking in to devel branch. Build may not work!!