Added database connect and query example