Made alerts more generic. Storing alerts in RavenDB.