remove the view, implement the example as a qml live editor
add a class to do file I/O from QML
add a class to create temporary files