fix git ignore and remove tmp,logs,db