Adt code

Latest ADT API work. Ready for insertion of code that enables ADTs in the event listing project.