made a huge amount of changes. ChartQuery and ChartModel are implemented but I should probably create an interface and/or some parent classes for adapting CSV data to the flexigrid model structure.