set up gui and app subdirs