Implemented functional GUI