Refactor server player instance creation.
Merge remote-tracking branch 'origin/master'