export callMain through closure
fix and clean up benchmark suite