added UIManager class