Imported (cleaned up version of) incident, operator, and work shift management classes.