Move web interface into separate files