Merge pull request #44 from mikey179/master

work for 3.0.0
switch from project path to root path
simplify