Restructure client into Client and Channel submodules.