Added rating functionality and refactored QueueItemsController.