Refactored charts into different classes. Added an example usage of
tabs. However, this does not work perfectly.