refactored code, now there will be one class Plot that can make every type of plot, this will make it easier to layer plots easily