added run_server & run_client in functions header