Implement reflux to replace flux

Using reflux which gets rid of a lot of boilerplate code for the
dispatcher/stores and gets rid of the weird switch statement to test
actions as strings.