modularized functions for preprocessing. best guess metadata and type can be gathered before interactive shell, as can source data verification. Torrent class defintion modified to support new structure. bin.py created for temporary testing. replace before merging to master.