Framework TDR for the LHCb Upgrade