client separated to dll