client refactor
Merge remote-tracking branch 'origin/master'