Fix license and file headers
Consolidate licenses of dependencies