Tables functionality

This merge adds a table display option in addition to the existing time series option. It also adds a download CSV feature.