Move Layout initialization and condiguration to base constructor