refactoring: make index more understandable and remove useless things
add requests module for requirement
refactoring: decoupling two functions from Homework class

set_urls and url_exists do not need to stay in Homework class.
Instead, they can be stay outside of class as utility.

Need to move those utilities into a utility file one day.