set debug flag
define as module function
use const to store module internal
implement lcf_reader binding
undef new and initialize if initialize isn't registered