add start parameter to support pagination to history_database
start using *_result objects for queries. added metainfo to txdb.
block_database