Merge pull request #2 from gridnow/master

pull request from yizheng
Merge pull request #3 from gridnow/master

pull request from yi zheng
Merge pull request #4 from gridnow/master

missed makefile
 add file map related functions and previous bugs
Merge pull request #8 from jyizheng/master

The file mapping prepare from yizheng