debug
working switch h0,h1
add httpserver for testing