I am looking for some inputs on using the same code base for catering to multiple apps (similar apps). For example there is an app A with multiple features and there is app B with reduced features. App B might have some other differences like having less menu items or some options disabled, some additional validations, some changes at form level. What would be the optimized approach to implement this with same codebase? So far I have thought about below approaches: