Creating GUI general structure.