created a centered layout for the four objects in the application
begining to change layout to support output as well as input
tried to make layouts switch, does not work