converted to es6
added source files, main.html