added TableCommand for calling table methods & logging exceptions