more db based uploader changes

Changed from timers to handlers with threads