added html frontend, made toggleable to/from work