Changed from NSThreads to NSOperations. Now creates a database file for each peer. Starting to create search function.