simplify interface to back end
remove debug printf
fix license
Merge pull request #1471 from WalterBright/b5

simplify interface to back end