made layout for main gui