lib/calc.js -> index.js