Moved java files to src/main/java and res to src/main/resources.
Removed unnecessary deprecation suppressions.
Removed invalid constructor, added instance getter.
Add UnitClass enum and use it in unit class HashMap