Cleanup and Database Access Class
restructuring of redpin2Heatmap
update
rewrote as class