implement multi-view app (TableView and ChartView)