giant blob of work.  Middle layer almost done!  Added wrapper for ELE interface, test cases, filled in most (but not all) of the other cases.