Better code separation between logic and GUI.