Created a simpler UI format. A mainFrame which is inherited by all other objects and shows them