Changes connected with new model.
New GUI and classes for variables