changes cleaned up code and used db_class where except for update query
final commit
final commit of today
Merged
db_class used in charts.
Changes to History Page
Merged Pooja pages
Alex changes