Allow options to all database functions
Add snapshot functions
Include snapshot info in db_info