Fixed all spacing and formatting.

Removed unused imports.