Adds ChartView

refactor and inject dependencies
remove parameters
addresses a few scrutinizer issues

Change-Id: I836dc4b8762f928f88ac391263d2a1756920095b
Merge remote-tracking branch 'upstream/master'