Refactor the main script to be object-oriented.
Add new class properties.
Update class docblock.
Add curl connection methods.
Refactor the curl request method.
Add destruct method to auto close curl connection.
Add method to get the array of network targets.
Update code formatting.