Added framework for db requests.