Added field for duration of alerts. Added more helper methods. Added enum for packet type