add json writer,local db and db query

local db is under assets folder, using sqlite to write.
json writer refer to jsonWriter class.