Updated and expanded a bunch.

Did a lot of work here. Finalized and debugged the alert module,
added and debugged and aggregation module, debugged  and expanded the main
function, and added territories to the config file.

Signed-off-by: Eliminioa <crazymadgenius@gmail.com>