Web App code for UI

This is the code that deploys the package as a web app.