initial port of old MEM presentation, makefile adaptation