A perl API for the BioSamples database