refactoring and updates for FluxServer and Remote TCP Nodes