Added getters and setters, included value drawing for BarChart. Did refactoring.