configuration now stored after quit

configuration stored in an sqlite database
.gitignore updated

Signed-off-by:  <st9fan@gmail.com>