Connect the module with a layout