Use sqlite to store data