Added web interface.

Changed a lot of other stuff.