Hibernate config and Alarm class created