updated layout. Make app more modular.

I know how to do the webview now. But I can't do it because I'm losing
track of where things are lol.