Extracts Cube retrieval to a Singleton class in preparation to create a MetadataController sharing the same cube as the QueryController
Creates a REST service to provide metadata information about the selected cube
Changes the QueryController to @PerRequest, previous session state is isolated by the CubeProvider singleton
Sample page to display an expandable hierarchy tree