further work on subsystem for loading resources