Organised imports

- Organized imports.
- Added more commenting to the RegionConsolidator.