made slight modifications to fix build for Device-Release and changed headless not to reference Cascades since its background service