segfault error fixed
altered tables to allow transactions
analyze_tar now is a function called in analyze_archive