Remove warnings, add licenses