Taking out memdebug
Initial conversion to ccarps module