- Split VariableServerThread into VariableServerSession and VariableReference classes - Use C++ streams for data handling - Unit tests