SEGFAULT OK
Add Player class
Refactor code to Player class