support library
New main layout
ignore gridlayout for now