wip
update ts port
restore original gulpfile
update build script