* Added better error encapsulation. * Added db-setup section.