added cabal support
fixed File->Save. Added functionality for loading jd file from commandline.
removed unused function and removed use of strict IO