We present a modularized storage and indexing framework that cleanly separates the functional components of a P2P system, enabling us to tailor the P2P infrastructure to the specific needs of various Internet applications. Categories and Subject Descriptors H.2.4 [Database management]: Systems--distributed databases General Terms Design Keywords peer-to-peer, p2p, indexing framework