Remove unused imports and move imports to top