This patch implements the beginnings of a database API allowing for the creation of tables, inserting rows in those tables, and retrieving those rows.