Refractor and start on GUI