Working and unit tested

Currently only supports basic pie and column charts.