Split client into smaller files