Added NICListener class