added M.LayoutManager and M.Layout