Fixed Inventory being created by the main class needlessly.