Adding a valid device definition and handling a basic app request