Added new subscription method for events, using a "subscribe" decorator.
Added an optional predicate function to events, for optional filtering on triggered time. used mainly for OpenPortEvent.
Added proper logging and argparse
Added cleanup of threads when exiting/finishing
The idea is discovering sub paths of resources in the api and sending them for hunting.
Added Dashboard detection from Proxy.
Also improved architecture of discovery/hunting from a "secure" perspective