Made layout registry class instance variable, in order to make multiple instances of the framework to coexist