Fix bugs so that crawler can now run, wait for URLs in parallel and write the content to the data base
Refactor: delete unused imports, change for loops to for each