removed gwt main which shouldnt have been there in the first place and improved some exception message when the file format is not known.