added threads to the manager. It works for one thread, and if the number of threads matches the hit count. Otherwise no alignments are returned. The get_chunk function in db_iterator.c needs to be optimized, but works for the moment. It uses a mutex to ensure serial access.