Cleaned codes related to "sensor" and "device" in the routes and the /app folder