Added parts of framework for player