create layout and filemanager