1. update dependency, now use sqlite3 for persistence
2. use config.h to save global macro definitions