Added database stuff to the example