Added create mem
More work
Added cabal package for codeec