added method to return stats about last query executed
swapped vars to public for HTTP status codes and current response status