replacing sleep with "download_delay" setting
add a parser to parse from leveldb