ClientAgent: Separate Client class out into its own file.