Move WebAppView to a file of its own.