Added base DBI functions to DatabaseInterface class.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>