[BUG_FIX] a bug in retrieveng contents of segments is fixed
update .gitignore to ignore csv files
[BUG_FIX] a bug was fixed that clears all the tables in mistake
add logging