Mercury: reusable metadata management, data discovery and access system