ported bash build script to python, created building html template, setup build log streaming