Here you go: link
The setup of hero is up to you, i did the setup of classes you sent me in that PM.
I think there should be no issues with this library at all, there is even a good amount of documentation and examples for you to understand how to use.
If you don't understand something then tell me.
The system is reworked to use item levels instead of item types as you asked.
Paladin can use two handed, can't dual wield, can use heavy armor
Mountaing king can dual wield, can't use two handed, can use heavy/light armor
Blood Mage can use weapon+shield, can't dual wield, can't use two handed, wears cloth armor