License!

This code has been around since 2012, should properly license this stuff with the standard header