Added Storage class and changed how to reference amounts in Resource class to fix bugs where resources wouldn't be updated correctly in the Gameplay class.