Simple refactoring and documentation

Adding some documentation
Change bug value in Player, and correct the same tests