Shikwaya was 'machinery' behind prosecutor's murder plot, court hears