Change header file tags

Also add stuffs in README.md, and change some reference parameters to
const reference.