Adds support for 'shared' frameworks

Shared frameworks are created and initialized once
per configured instance name.