Added simple database demo code