Toward smarter databases: a case-building toolkit