added db/sql lite related changes as per the tutorial