Added a new class to implement the wget functionality