Made UserInterface a singleton object.