The SIM code is common to all apps so I'm looking at src/host/layer23/src/common/main.c .
Well, I would change that.
And just make the SIM a separate module that the app can choose to unit however it'd like. then in 'mobile', you'd read the config out of VTY.
Cheers,
Sylvain