reinstated UML diagram

not fully functional yet, basic there with new API
Improved UML