Lots of progress on database operations, beginning model implementations