Implement classes to store data and plot them