Extract player to a a class