Refactor controller

- extract alerts functions to alerts module
- extract calendar functions to calendar module
- remove incidents