bridge class for cliebt-server communications