fix repeated value
remove redundant import
split up function where the interface break will be
move most of test runner into lib
break function where file will be broken
move download backend out to lib
import db correctly
fix imports