Refactor enumerated types to contain their own lookup code.
Refactor CLEVEL to use new routine
Remove unused variable in readLI()