License fixes

* Add Apache 2.0 license and copyright notice to source file
* Fix LICENSE.md to put template back