basic setup for react and flux