Implemented states and flux architecture