Adding Plot class