export protobuf models and way to configure