create base frame for gui