move Player to a separate module