account as singleton, at index.js