moved gui to main
Moved printing to seperate file with func