untracking batsd install folder, and modularlized the to-csv code