Bootstrap improvements

Whilst using the loader is ok for out of the box installs it removes the ability for custom bootstraps to instantiate an app. This adjusts the ResourceManager constructor to support both types.