Utilities for creating and using a beets library