[fix] gitignore
[improved] config, log, path, db connection