modified App.js to support types like index scan,unique index lookup,index range scan