adding gui framework