Remove duplicate functions
Fix remoteClient header status code.
Fix file path problem with remote client.