Rename memory to p
Add mmap mode to usage
Add makefile