Modified the resource hadling architecture in the game