Modularizes bar chart generator
Better seperation of concerns in Chart module