Added utlity class for converting strings to enums