fixed files for the singleton; added a UML