use geminidb and add setting window
Merge pull request #23 from midraal/update

use geminidb and add setting window