initial commit
logic completed, but untested
Merge branch 'master' of https://github.com/knu2xs/forestry-tools