Implemented the ability to purchase upgrades