Updates - advanced mode, added db driver sample code