Airplay device and control point refactoring