add README.md and rewrite some part of makefile