moved analysis-related work out of cycio and into analysis. added a tbl to dict method to analysis