Refactoring

Refactored so can use more flexible data type (not only GraphViewDataInterface). Also created CandleGraph.