Base class.js, npm 'console', main class