CS240 project1 and 2 Client and Server Indexer