creates Incident class