Make flux module more consistent

  * use a FluxService
  * all arguments from command line