Added LayoutConfig; Adapted plugin to new LayoutConfig