Add support to specify root_dir
Add three more patches
Merge pull request #1 from halton/master

Add support to specify root_dir