Improve the desing class in the GUI, now it is ready to apply
design patterns.