This would be a very large undertaking which I can only advice against. The game does not use equipment slots - at least not in the traditional sense.
Weapons are only equippable in "one slot", either (mainhand), (offhand) or (mainhand+offhand = two-handed weapons). This is set in the item. So if you have say the weapon named "Axe_Hunter" which is a mainhand weapon, you can only ever equip that weapon in the mainhand. Because of this, what you would need to do to have off-hand weapons is create duplicates of all mainhand weapons in the XML. With such a solution you could tweak your off-hand, but an item would still be defined as either mainhand or one of the others above. So you'd need to have two weapons in the game - one called Hunter's Axe, and another called Hunter's Axe (offhand). Switching one to the other would not be possible.
In addition, animations are sort of hard-coded to treat any off-hand-only equipment as a shield.