Add settings based database
fixed kill rtsp thread bug
refactor code