Plot class implemented