add offline_debug.html
add html scripts
implement scene main