add jfreechart as dependency
added neat dual contructor 
added error checking on missing files