Updated license, removed unused imports.