Shell-based calculator wrapper