Remove readline NPM dependency, core module