implemented gui interface for iteration 1
updated exceptionhandling