Created gui class