change timeout, change dependencies url, refactor switch
use sqlite connection pool instead of using mutex