Class bar-chart and class main-window added