sqlite wrapper and example code.