refactored clients for external services (maintenance, sw upgrade)
merged from mac, fixed remote_service_client