return the index of the commited command to the application via do() and add Index func to get the current committed index of the server