Add doc of providers architecture

Adding doc of providers database architecture.