moved caching from loaders to environment and added environment overlays

--HG--
branch : trunk
13 files changed