add hwclient.cpp