added license text to all source file and scripts to pass debian's licensecheck.
added example of wrapper to support new format