Added find and create functioanility for encounter types using the class code.