new AppInit class to match request and start app.