Data management and query software