Initial code for sample IDS app