Yet another clean up :D
- Changed Hash Map/Sets to Enum Map/Sets where appropriate
- Removed all unused imports
- Updated code for API changes
Signed-off-by:thehutch <th3hutch@yahoo.co.uk>