using Flux to structure app