Static analyse work version

improvements: logfile auto create. db init.