Convert tool into container of various versions of API. Move API to Document and use portal_components.