add support for all types of discrete/continuous analyses

* use shelve for moving data to remote kernels