Worked out all the parts of the Java code part of the mockup just to
prove the end to end plumging can work.