[clean] proper class to provide the function to instanciate a layout