(#7) Removed dependency to globals and refactored the code. Fixed minor bug in the ChartWidget.
Merge branch 'feature/7-remove-global-dependency-and-refactor'