the old TreeInit class exists in the Umbraco.Web project (not the aspx file). It needs to stay there to maintain backwards compatibility for anyone that may have inherited from that file.