add player.js and playerAdapter.js