moved several G_Client function to g_client.c from other files