Quantum Information Processing In Modular Cavity Qed Architectures