Added database bootstrap code.