moving player to a separate template file