Backend for alerts and a minimal ui