Moved to object oriented approach. Implemented placeholder objects for views and data sources. Rearranged things a bit. Warned when selecting column with non-numeric data for now.