Addede s4 classes basically working to do all the plots exactly as
before