First implementation of the UIManager