Split client into multiple files.