if you ask for my opinion, I think that resources system should be changed to:
there is no resources shown (or showing the sum) in the upper bar, every resource is stored where it was putted.
when you order the workers to build they get the materials from the storehouses or harvest it by themselves.
you can transfer the resources from a storehouse to anywhere else. this is how you trade, support allies, supply your units.
barracks need to have the resources near it to recruit units.