Work on graph refactor.
It's even compiling.
Implemented observer pattern in charts, created enclosing class, deleted uneccessary ones.