Added core functionality for document indexing and information retrieval.