Created event to recalculate the rating of all the parking lots
Created service for devices and implemented a event to get a device by device id