Add license headers
Remove unused imports