Adding code for the refernce player app