Add licence.
Add warnings as errors