Paul Greaney KC said a group of men were involved in the planning of the Real IRA attack in the Co Tyrone town.