Put chart subclasses and Chart into separate files