Library architecture