1. Support save to sqlite3 db
2. Fix debug messages