Add Main in order to test ChatNI