Signed-off-by: manosf <manosf@protonmail.com>
This fixes https://github.com/prometheus/alertmanager/issues/881 Also add some unit tests
This commit packages up individual modules and removes the top-level main package.