Adding Client convenience class and stripping frontend logic from the cli.