Extracting BootLayout into class.