Minor updates to backend code

Can update and access the database, with small test examples (test0 and
test1)