Implemeted Index Range handling
Refactored Data Collector
added generic csvlogger command