Separate group app code from models and views to reuse them