SqLite initializing and getting data