Issue #29: made ViewManager a singleton