make working react refactor. now add reflux.