added Main.hs, implemented first part of GUI