added sqlite starting framework as well as the local stats table schema.