Changes to create working web app.

Most changes made to main, base, and stylesheets.