Use header inheritance
fix identation
Merge pull request #12 from ScottTZhang/inherit

Use header inheritance