added controller file for web app.