renaming client -> main