changed web interface to static files + json interface