Created a plot class and package