fix headers + add licensing