Move client code into its own repo