import Makefile.am, and import source files from memc3
a built-able version