Separated scatterplot method into separate file, changed definition of the scatterplot 'class'