Alert Model added

Alerts are saved and retrieved correctly.
No actual alerting yet.