UML and code to help me do comparison tables