added incidentmessagebd class and made changes to incident and incidentdb classes