Implemented nfc_init and nfc_exit apis (tested working)