Merge pull request #45 from mikey179/master

incorporate new rootpath and resource loader
Merge pull request #46 from mikey179/master

upgrade
api rework