Complete rewrite of the web interface