make getScanner API in IErlModule