A database toolkit