big refactor. Added typescript. building slowly with watch and livereload