refactored CDDL code; updated EL docs;