decoupling Application from Gtk