Add beginnings of database stuff