Creating modules for data retrieval