add Resource class; :dolphin: separate class to prevent memory leaks
Ref #115

tick version
Merge branch 'master' into gh-pages
build pkgd v3.1.0