added support for data transfer statistics in DatabaseHandler class