Inventory system, more modular approach

More modular approach to handling, and added basic inventory system.