Moved rake code into player class