moving creation of player onto background thread