db master - moved everything into a python package called pca. starting to work on display as html output