added sqlite wrapper.