fluxpack: architectural redesign towards a more flexible I/O logic

Signed-off-by: Frank Mertens <frank@cyblogic.de>