Stable Commit

* Added capability to choose database in data item constructor
* Added capability to plot bar charts, pie charts
* Added least squares fit to the scatter plots