added ViewServer class for heiarchy viewer