Testing the commit function
Fixed the GUI factory