Fixed imports, added GPL notices