Lazy resource store

This pull request implements an optional lazy resolution of resources that potentially makes the resource store creation independent of the number of dimensions and linear with the number of resources.
It also introduces the ability for plugins to alter configurations