Move Barco logic to service and dao.