Refactoring Equipment/Inventory into componenets

It's now working. Now I need to review needed functions and replication.
To reduce the amount of clutter that is currently present in code.