Move application application module installer from app module to middleware component