Building up the modules for layout