add player factory
Merge branch 'master' of https://github.com/kzviagina/js