Multi-platform code generation support for models and services