More eefactoring for reuse. Added utils.py.

Added alarm_crud.py to test more alarm functionality.