Fixed a bracket misplacing. Removed unused imports and a list.