starting work on implementing flux
add flux server-side so we can use it client-side