adding sqlite support and remove log file. For great\!