client flux architecture