Is there a REST API (or SDK in C/C++, Java or any other language) to automate the process of creating a new model? We want to create a complex model with multiple dimensions (using hierarchies) and multiples measures with different types of aggregation and do not want users to have to do it manually. We want to automate the whole process as we already have all cube definitions and star schema tables ready in an on-premisses system.